package com.company;

import java.util.Scanner;

public class demo32 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请按顺序输入正方形的边长（a），长方形的长（l）和宽（d），以及圆的半径（r）");
        int a = sc.nextInt();
        int l = sc.nextInt();
        int d = sc.nextInt();
        int r = sc.nextInt();
        double area1 = a * a;
        double area2 = l * d;
        double area3 = Math.PI * r * r;
        if (area1 > area2) {
            if (area1 > area3) {
                System.out.println("正方形");
            }else {
                System.out.println("圆");
            }
        } else {
            if (area2 > area3) {
                System.out.println("长方形");
            }else {
                System.out.println("圆");
            }
        }
    }

}
